
project(readpyd)

include_directories("${PROJECT_SOURCE_DIR}/../../3rdparty/pycxx-7.1.7/" "${PROJECT_SOURCE_DIR}/../../3rdparty/Python38/include/")

link_directories(${PROJECT_BINARY_DIR}/../bin)

file(GLOB SRC_H ./*.h)

file(GLOB SRC_CPP ./*.cpp)

add_executable(${PROJECT_NAME} ${SRC_H} ${SRC_CPP})

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../bin)

target_link_libraries(${PROJECT_NAME} ${PROJECT_SOURCE_DIR}/../../3rdparty/Python38/libs/python38_d.lib pycxxlib.lib)